#ifndef __JB_NANOAPP_H__
#define __JB_NANOAPP_H__

#ifdef __cplusplus
extern "C"{
#endif 

typedef void (*VoiceDataCb)(char* pBuf,int length);
typedef void (*VoiceKeyCb)(int action);

int nano_open(void);
int nano_close(void);
int nano_appProcData(char* dataIn,char datalen);
void nano_RegisterDataReceivedCb(VoiceDataCb func);
void nano_RegisterVoiceKeyCb(VoiceKeyCb func);

#ifdef __cplusplus
}
#endif

#endif